<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        li {
            float: left;
            list-style: none;
            margin: 0px 5px;
            width: 50px;
            height: 50px;
            border: 1px solid #000;
            border-radius: 50%;
            line-height: 50px;
            text-align: center;
            cursor: pointer;
            transition: all 1.5s;
        }

        li:hover {
            transform: scale(1.2);
        }

        div {
            float: left;
            margin: 300px 50px 0px 50px;
            width: 200px;
            height: 200px;
            background-color: pink;
            transition: all 15s;
        }

        .one:hover {
            transform: translate(200px) rotate(180deg) scale(2);
        }

        .two:hover {
            transform: rotate(180deg) translate(800px) scale(2);
            transform-origin: bottom left;
        }

        .three:hover {
            transform: scale(2) translate(200px) rotate(180deg);
        }

        /* 动画序列 */
        @keyframes move {
            0% {
                border-top: 80px solid blue;
                border-bottom: 80px solid paleturquoise;
                border-right: 80px solid blueviolet;
                border-left: 80px solid navajowhite;
            }

            25% {
                transform: translate(1000px, 0px);
                border-top: 80px solid transparent;
                border-bottom: 80px solid transparent;
                border-right: 80px solid transparent;
                border-left: 80px solid navajowhite;
            }

            50% {
                transform: translate(1000px, 500px);
                border-top: 80px solid blue;
                border-bottom: 80px solid transparent;
                border-right: 80px solid transparent;
                border-left: 80px solid transparent;
            }

            75% {
                transform: translate(0px, 500px);
                border-top: 80px solid transparent;
                border-bottom: 80px solid transparent;
                border-right: 80px solid blueviolet;
                border-left: 80px solid transparent;
            }

            100% {
                transform: translate(0px, 0px);
                border-top: 80px solid transparent;
                border-bottom: 80px solid paleturquoise;
                border-right: 80px solid transparent;
                border-left: 80px solid transparent;

            }
        }

        .mov {
            width: 0;
            height: 0;
            border-top: 80px solid blue;
            border-bottom: 80px solid paleturquoise;
            border-right: 80px solid blueviolet;
            border-left: 80px solid navajowhite;
            animation-name: move;
            animation-duration: 10s;
            /* transition: all 10s; */
        }

        nav {
            float: left;
            width: 500px;
            height: 500px;
            background-color: plum;
            position: relative;
        }

        aside {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100px;
            height: 100px;
            transform: translate(-50%, -50%);
            background-color: burlywood;
        }
    </style>
</head>

<body>
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
        <li>4</li>
        <li>5</li>
        <li>6</li>
        <li>7</li>
        <li>8</li>
    </ul>
    <div class="one"></div>
    <div class="two"></div>
    <div class="three"></div>

    <section class="mov"></section>
    <nav>
        <aside></aside>
    </nav>
</body>

</html>